package ute.mvc.dao;

import java.util.List;

import ute.mvc.model.QuestionPool;
import ute.mvc.model.Subject;
import ute.mvc.model.User;

public interface QuestionPoolDAO {
	public List<QuestionPool> getAllQuestionPool();
	public List<QuestionPool> findQuestionPoolByName(String questionPoolName);
	public QuestionPool getQuestionPool(String poolId);
	public void addQuestionPool(QuestionPool questionPool);
	public void updateQuestionPool(QuestionPool questionPool);
	public void deleteQuestionPool(QuestionPool questionPool);
	public String getMaxIdInSubject(Subject subject);
	public List<QuestionPool> getPoolBySubjectLecturer(Subject subject, User lecturer);
	public QuestionPool getPoolByName(String name);
}
